From 33bcbdb3300185d13ee527602072c60612227698 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 13 Jun 2016 08:49:12 +0100 Subject: [PATCH] ocaml/libxs: generate a paths.ml Signed-off-by: Wei Liu Acked-by: David Scott --- .gitignore | 1 + tools/ocaml/libs/xs/Makefile | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8e0a1771c5..5914bbe7fe 100644 --- a/.gitignore +++ b/.gitignore @@ -348,6 +348,7 @@ tools/ocaml/libs/xl/xenlight.mli tools/ocaml/libs/xentoollog/_xtl_levels.* tools/ocaml/libs/xentoollog/xentoollog.ml tools/ocaml/libs/xentoollog/xentoollog.mli +tools/ocaml/libs/xs/paths.ml tools/ocaml/xenstored/oxenstored tools/ocaml/xenstored/oxenstored.conf tools/ocaml/xenstored/paths.ml diff --git a/tools/ocaml/libs/xs/Makefile b/tools/ocaml/libs/xs/Makefile index 7a3d886d7b..572efb76c4 100644 --- a/tools/ocaml/libs/xs/Makefile +++ b/tools/ocaml/libs/xs/Makefile @@ -11,7 +11,7 @@ OCAMLOPTFLAGS += -for-pack Xenstore PREINTF = xsraw.cmi xst.cmi PREOBJS = queueop xsraw xst PRELIBS = $(foreach obj, $(PREOBJS),$(obj).cmo) $(foreach obj,$(PREOJBS),$(obj).cmx) -OBJS = queueop xsraw xst xs +OBJS = paths queueop xsraw xst xs INTF = xsraw.cmi xst.cmi xs.cmi LIBS = xenstore.cma xenstore.cmxa @@ -45,3 +45,7 @@ uninstall: include $(TOPLEVEL)/Makefile.rules +genpath-target = $(call buildmakevars2module,paths.ml) +$(eval $(genpath-target)) + +GENERATED_FILES += paths.ml -- 2.30.2